package com.jdd.modules.parkcar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdd.common.util.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * @Description: 内部车辆表
 * @author: ZhuLiuWei
 * @date: 2022/1/17 10:57
 */
@Data
@TableName("park_inner_list")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "park_inner_list对象", description = "内部车辆表")
public class ParkInnerInfo {
    /**
     * 主键
     **/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 车牌号
     */
    @Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String plateNo;
    /**
     * 停车场编号
     */
    @ApiModelProperty(value = "停车场编号")
    private String parkCode;
    /**
     * 停车场名称
     */
    @ApiModelProperty(value = "停车场名称")
    private String parkName;
    /**
     * 状态(Y:启用,N:冻结)
     */
    @ApiModelProperty(value = "状态(Y:启用,N:冻结)")
    private String status;
    /**
     * 有效期开始时间
     */
    @Excel(name = "有效期开始时间", width = 30)
    @ApiModelProperty(value = "有效期开始时间")
    private String startTime;
    /**
     * 有效期结束时间
     */
    @Excel(name = "有效期结束时间", width = 30)
    @ApiModelProperty(value = "有效期结束时间")
    private String endTime;
    /**
     * 客户姓名
     */
    @Excel(name = "车主/姓名", width = 15)
    @ApiModelProperty(value = "客户姓名")
    private String userName;
    /**
     * 客户手机号码
     */
    @Excel(name = "手机号码", width = 15)
    @ApiModelProperty(value = "客户手机号码")
    private String mobile;
    /**
     * 家庭住址
     */
    @Excel(name = "家庭住址", width = 15)
    @ApiModelProperty(value = "家庭住址")
    private String address;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 修改时间
     */
    @Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createUser;
    /**
     * 车辆备注
     */
    @Excel(name = "车辆备注", width = 15)
    @ApiModelProperty(value = "车辆备注")
    private String remark;
    /**
     * 是否永久(1:是,0:否)
     */
    @Excel(name = "是否永久(1:是,0:否)", width = 20)
    @ApiModelProperty(value = "是否永久(1:是,0:否)")
    private String isForever;
}
